<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8" %>
<%@ page import="java.util.Map,com.opensymphony.xwork2.ActionContext,com.us.manage.pojo.Manage"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<link rel="stylesheet" type="text/css" href="css/main.css">
<title>湖北包装网会员管理系统</title></head>
<style type="text/css">
* html {
	overflow-y: scroll;
	SCROLLBAR-FACE-COLOR:#0066ff; 
	SCROLLBAR-HIGHLIGHT-COLOR: #0066ff; 
	SCROLLBAR-SHADOW-COLOR: #0066ff;
	SCROLLBAR-3DLIGHT-COLOR: #3366ff; 
	SCROLLBAR-ARROW-COLOR: #ccffff; 
	SCROLLBAR-TRACK-COLOR: #99ccff; 
	SCROLLBAR-DARKSHADOW-COLOR: #99ccff; 
}
html {
	overflow-y: scroll;
}
</style>
<script language="javascript">
function getObject(objectId) {
 if(document.getElementById && document.getElementById(objectId)) {
 // W3C DOM
 return document.getElementById(objectId);
 }
 else if (document.all && document.all(objectId)) {
 // MSIE 4 DOM
 return document.all(objectId);
 }
 else if (document.layers && document.layers[objectId]) {
 // NN 4 DOM.. note: this won't find nested layers
 return document.layers[objectId];
 }
 else {
 return false;
 }
}

function showHide(objname){
    var obj = getObject(objname);
    if(obj.style.display == "none"){
		obj.style.display = "block";
	}else{
		obj.style.display = "none";
	}
}
</script>

<body id="left">
<div id="nav">
  <dl>
    <dt onclick="showHide('items0');">会员管理</dt>
    <dd id="items0" style="display:block;">
      <ul>
        <li><a href="../user/getComReq.action" target="mainFrame">待审核会员</a></li>
        <li><a href="../user/GetComDutyList.action" target="mainFrame">待审核协会职务申请</a></li>
        <li><a href="../user/getAllWebUser.action" target="mainFrame">管理会员</a></li>
        <li><a href="../user/MoneyInfoList.action" target="mainFrame">汇款管理</a></li>
        <li><a href="../user/getComType.action" target="mainFrame">企业会员选项管理</a></li>
      </ul>
    </dd>
  </dl>
  <dl>
    <dt onclick="showHide('items1');">普查管理</dt>
    <dd id="items1" style="display:block;">
      <ul>
      	<li><a href="../indagate/getIndagateControl.action" target="mainFrame">普查控制</a></li>
        <li><a href="../indagate/getIndagateList.action" target="mainFrame">普查信息查看</a></li>
        <li><a href="../indagate/toIndagateSearch.action" target="mainFrame">普查结果分析</a></li>
      </ul>
    </dd>
  </dl>
  <dl>
    <dt onclick="showHide('items2');">通知发送</dt>
    <dd id="items2" style="display:block;">
      <ul>
        <li><a href="../note/send_note1.jsp" target="mainFrame">批量发送</a></li>
        <li><a href="../user/getAllWebUserToSend.action" target="mainFrame">选择发送</a></li>
      </ul>
    </dd>
  </dl>
  <dl>
    <dt onclick="showHide('items4');">数据分析</dt>
    <dd id="items4" style="display:block;">
      <ul>
        <li><a href="#">企业会员分析</a></li>
      </ul>
    </dd>
  </dl>
  
  <dl>
    <dt onclick="showHide('items3');">系统设置</dt>
    <dd id="items3" style="display:block;">
      <ul>
        <%
  		Map sessions = (Map) ActionContext.getContext().getSession();
  		Manage manage = (Manage)session.getAttribute("smanage");
  		String admin_level = manage.getAdmin_level();
  		if(admin_level.equals("1")){
   		%>
        <li><a href="../manage/viewAdmin.action" target="mainFrame">管理员设置</a></li>
        <%} %>
        <li><a href="../manage/updateAdminpsw2.jsp" target="mainFrame">资料修改</a></li>
      </ul>
    </dd>
  </dl>

</div>
</body>
</html>
